package com.z.pojo;

public class Address {
    /**
     * 地址id
     */
    private Integer     aid;
    /**
     * 用户的id，确定当前地址是哪个用户
     */
    private Integer     uid;
    /**
     * 详细地址
     */
    private String      adesc;
    /**
     * 收货人姓名
     */
    private String      aname;
    /**
     * 收货人联系电话
     */
    private String      aphone;

    public Address() {
    }

    public Address(Integer aid, Integer uid, String adesc, String aname, String aphone) {
        this.aid = aid;
        this.uid = uid;
        this.adesc = adesc;
        this.aname = aname;
        this.aphone = aphone;
    }

    public Integer getAid() {
        return aid;
    }

    public void setAid(Integer aid) {
        this.aid = aid;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getAdesc() {
        return adesc;
    }

    public void setAdesc(String adesc) {
        this.adesc = adesc;
    }

    public String getAname() {
        return aname;
    }

    public void setAname(String aname) {
        this.aname = aname;
    }

    public String getAphone() {
        return aphone;
    }

    public void setAphone(String aphone) {
        this.aphone = aphone;
    }

    @Override
    public String toString() {
        return "Address{" +
                "aid=" + aid +
                ", uid=" + uid +
                ", adesc='" + adesc + '\'' +
                ", aname='" + aname + '\'' +
                ", aphone='" + aphone + '\'' +
                '}';
    }
}
